import request from '@/utils/request'
import { getToken } from '@/utils/auth'
var token = getToken();

export function getRvt () {
  return request({
    url: '/pc/management/reservation/getRvt',
    method: 'post',
    data: {
      token: token,
    }
  })
}
export function setCard (card) {
  return request({
    url: '/pc/management/reservation/setOn',
    method: 'post',
    data: {
      token: token,
      card: card
    }
  })
}